home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2152 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: odie.et.fnt.hvu.nl!ico
  2. From: ico@odie.et.fnt.hvu.nl (Ico Doornekamp)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Putting data files into WAD / EXE files. PLEASE HELP!!!
  5. Date: 19 Jan 1996 15:15:27 GMT
  6. Organization: Hogeschool van Utrecht, the Netherlands
  7. Message-ID: <4docif$eb1@elektron.et.tudelft.nl>
  8. References: <4d65fn$d4v@ns2.ptd.net>
  9. NNTP-Posting-Host: odie.et.fnt.hvu.nl
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Onyx (Onyx@postoffice.ptd.net) wrote:
  13. : Ok, Everybody knows how in DOOM and other games there are files that 
  14. : hold all the graphic / sound files. My question is how do I make my 
  15. : program so that it can read files from a wad file. And write to them. 
  16. : The reason I ask this is because I am writing a DEMO that uses PCX 
  17. : sprites and S3M files and I want to at least put the files in a large 
  18. : data file but would like to put them in the EXE intself. Anyone that has 
  19. : help or source for how to do this PLEASE REPLY!
  20.  
  21. Take a look at ftp.cdrom.com, the simtel archive contains a program, I 
  22. can't recall the name right now, that converts raw data into .OBJ files,
  23. which can be linked into your .EXE file. You define a public name for the 
  24. data, and just use it in your code. (C, Pascal, PowerBasic etc.)
  25.  
  26. Ico Doornekamp 
  27.